package cloud.alibaba.study.dao.order;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import cloud.alibaba.study.entity.order.Order;

@Mapper
public interface OrderDao {
	
	   /**
     * 创建订单
     */
    void createOrder(Order order);

    /**
     * 修改订单金额
     */
    void updateOrder(@Param("userId") Long userId, @Param("status") Integer status);

}
